package cn.lx;

/**
 * @author lixin
 * @Classname Client
 * @Description TODO
 * @Date 2019/10/7 上午11:10
 */
public class Client {
    public static void main(String[] args) {
        Invoker invoker = new Invoker();
        Receiver receiver = new ConcreteReceiver1();
        Command command = new ConcreteCommand1(receiver);
        invoker.setCommand(command);
        invoker.action();
    }
}
